mport java.util.Arrays；

public class StringDemo{
	public static void main (String[] args){
		String[]  names={"justin","caterpillar","bush"};
		Arrays.sort(names,String::compareTo);
		System.out.printIn(Array.toString(names));
	}
}


